
/* 首页结构的css文件 */
@charset "utf-8";
$maincolor:#ee4040;
/* 中文解析 */
* {
    margin: 0;
    padding: 0;
}

body {
    min-width: 1200px;
}

/* 头部代码的开始 */
#header {
    width: 100%;
    height: 40px;
    background-color: $maincolor;
}

.header-con {
    width: 1200px;
    height: 40px;
    background-color: $maincolor;
    margin: 0 auto;
}

.top_shop {
    width: 40px;
    height: 27px;
    float: right;
    line-height: 20px;
    text-align: center;
    padding-top: 13px;
    font-size: 14px;
    color: $maincolor;
    background: url(../images/bag_ico.jpg) no-repeat center center;
}

.top_menu {
    float: right;
    line-height: 16px;
    padding-top: 18px;
}

.top_menu li {
    font-size: 12px;
    float: left;
    margin-right: 10px;
    text-align: center;
    color: #fff;
    width: 25px;
}

.top_menu a {
    text-decoration: none;
    color: #fff;
}

.top_menu a:hover {
    color: #FFF;
    text-decoration: underline;
}

/* logo */
#logo_jm {
    height: 100px;
    line-height: 100px;
    background-color: rgb(255, 255, 255);
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
}

.logo_jm-con {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
}

.logo {
    height: 80px;
    float: left;
    padding: 20px 20px 0 0;
}

.logo a {
    color: $maincolor;
    text-decoration: none;
}

.quyu {
    width: 60px;
    height: 30px;
    float: left;
    background: url(../images/quyu.png);
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

.top_list {
    float: right;
    width: 800px;
    font-size: 14px;
    text-align: center;
    padding: 38px 10px 0 0;
    margin-right: -25px;
}

.top_list li {
    float: left;
    width: 80px;
    line-height: 30px;
}

.top_list li:hover a {
    background: $maincolor;
    color: #fff;
}

.top_list li a {
    display: block;
    color: #ee4040;
    text-decoration: none;
    width: 80px;
}

.top_list ol {
    position: absolute;
    top: 100%;
    line-height: 30px;
    font-size: 12px;
    display: none;
}

.top_list ol li:hover a {
    background-color: #ee4040;
    color: #fff;
}

.top_list .li1,
.li2 {
    position: relative;
}

.top_list .li1:hover .ol1 {
    display: block;
    z-index: 999;
}

.top_list .li2:hover .ol2 {
    display: block;
    z-index: 999;
}

.top_list ol li {
    float: none;
    position: relative;
}

/* 轮播图 */
#banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: block
}

.banner-con {
    width: 1920px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.banner-con ul {
    list-style: none;
    width: 9600px;
    height: 600px;
    position: absolute;
    left: -1920px;
    top: 0;
}

.banner-con ul li {
    width: 1920px;
    height: 600px;
    float: left;
    font-size: 100px;
    text-align: center;
    line-height: 600px;
}

.banner-con ol {
    list-style: none;
    position: absolute;
    right: 800px;
    bottom: 20px;
    width: 200px;
}
.banner-con ol li{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid $maincolor;
    background-color: #fff;
    box-sizing: border-box;
    float: left;
}
.banner-con ol li+li {
    margin-left: 16px;
}
.banner-con ol li.active {
    background-color: $maincolor;
}

#wrap {
    width: 100%;
    height: 675px;
    background-color: #fff;
}

.wrap-con {
    width: 1200px;
    height: 675px;
    margin: 0 auto;
}

.wrap-con .part {
    height: 40px;
    border-bottom: 1px solid #ee4040;
    color: #ee4040;
    padding: 20px 50px 0 0;
}

.wrap-con .part h3 {
    line-height: 28px;
    float: left;
    border-bottom: 3px solid #ee4040;
    font-weight: normal;
    height: 28px;
}

.wrap-con .more a {
    float: right;
    line-height: 40px;
    color: #ee4040;
    text-decoration: none;
}

.wrap-con .hotsales {
    height: 230px;
    padding: 50px 0 0 30px;
}

.wrap-con .tempsales {
    width: 1160px;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.tempsales ul {
    margin: 0px;
    width: 2320px;
    left: 0px;
    position: relative;
    overflow: hidden;
    padding: 0px;
}

.tempsales ul li {
    border: 1px solid #ccc;
    position: relative;
    float: left;
    width: 270px;
    height: 230px;
    margin-right: 20px; 
    p{  
        position: absolute;
        width: 200px;
        height: 30px;
        overflow: hidden;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        top:170px;
        font-size: 12px;
        color: #505050;
        text-indent: 2em;
        letter-spacing: -1px;
        &:hover{
            color: #ee4040;
        }
    }  
    span{
        display: block;
        position: absolute;
        bottom:0;
        width: 100%;
        text-align: center;
        em{
            font-size: 20px;
            color: red;
        }
        i{
            color: #ccc;
            text-decoration: line-through;
            margin-left: 10px;
            font-size: 12px;
        }
    }
}

.correct {
    height: 170px;
    width: 200px;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    backface-visibility: hidden;
}

.correct img {
    width: 100%;
    height: 100%;
}

.opposite {
    height: 230px;
    width: 270px;
    position: absolute;
    z-index: 1;

}

// .wrap-con .whatsnew {
//     padding-top: 70px;
//     height: 200px;
//     position: absolute;
// }
// .whatsnew{
//     height: 230px;
//     padding: 50px 0 0 30px;
// }
// .whatsnew ul{
//     margin: 0px;
//     width: 2320px;
//     height: 100%;
//     left: 0px;
//     position: relative;
//     overflow: hidden;
//     padding: 0px;
// }
// .whatsnew ul li {
//     width: 270px;
//     height: 100%;
//     padding-left: 30px;
//     float: left;
// }

.huodong_img {
    width: 240px;
    float: left;
    padding-right: 30px;
}

.huodong_img img {
    width: 240px;
    height: 200px;
}

.huodong_text {
    width: 234px;
    height: 200px;
    position: static;
    float: left;
    background-color: #fff;
}

.huodong_text h2 {
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;
    color: $maincolor
}

.huodong_text p {
    text-align: left;
    color: $maincolor;
    font-size: 12px;
    line-height: 22px;
}
#footer{
    width: 100%;
    height: 280px;
    margin-top: 60px;
    background-color: #f9f6f4;
    color: #ee4040;
}
.footer-con{
    width: 1200px;
    height: 280px;
    margin: 0 auto;
    .channel{
        height: 140px;
        padding: 20px 0 40px 0;
        border-bottom: 1px solid #ee4040;
        margin-bottom: 5px;
        .ch_left{
            width: 380px;
            margin-right: 20px;
            float: left;
            height: 141px;
            font-size: 12px;
        }
        h3{
            font-size: 12px;
            font-weight: bold;
            line-height: 30px;
            border-bottom: 1px solid #ee4040;
            margin-bottom: 5px;
        }
        .ch_right{
            width: 380px;
            float: right;
            height: 141px;
        }
        .ch_help{
            width: 380px;
            height: 128px;
            a{
                color: #ee4040;
                text-decoration: none;
                line-height: 22px;
            }
        }
        .ch_helps{
            float: left;
            margin-left: 100px;
            margin-top: -131px;
            a{
                color: #ee4040;
                text-decoration: none;
                line-height: 22px;
            }
        }
        .ch_share{
            padding-top: 5px;
            li{
                padding-right: 20px;
                float: left;
                width: 40px;
                height: 40px;
            }
        }
    }
    .bottom{
        width: 1200px;
        height: 40px;
        .bottom_left{
            padding-top: 5px;
            float: left;
            img{
                width:300px;
                height: 30px;
            }
        }
        .bottom_right{
            float: right;
            line-height: 20px;
            text-align: right;
            font-size: 12px;
            a{
                color: #ee4040;
                text-decoration: none;
            }
            img{
                width: 20px;
                height: 20px;
                border: 0;
                vertical-align: middle;
            }
        }
    }
}

.swiper {
    width: 100%;
    height: 473px;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-banner-prod-list {
    
    position: relative;
    left:0px;
    overflow: hidden;
    width: 202px;
    height: 100%;
    line-height: 0;
    font-size: 0;
    white-space: nowrap;
    background-color:rbga(255,255,255,0.5);
  }

  .home-banner-prod-list a {
    position: absolute;
    // display: inline-block;
    z-index: 999;
    width: 100%;
    height: 100%;
  }

  .home-banner-prod-pic {
    width: 202px;
    height: 296px;
    *line-height: 296px;
    *font-size: 259px;
    margin: 38px 0 11px;
  }

  .home-banner-prod-list h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: normal;
    white-space: nowrap;
    display: block;
    height: 18px;
    padding-bottom: 2px;
    margin-bottom: 10px;
    line-height: 1;
    font-size: 18px;
    font-weight: 400;
  }

  .home-banner-prod-list p {
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: normal;
    white-space: nowrap;
    display: block;
    height: 15px;
    padding-bottom: 2px;
    line-height: 1;
    font-size: 15px;
  }

  .home-banner-prod-pic img {
    max-width: 202px;
    max-height: 296px;
}

.home-banner-aside-bg {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index:10;
}
.home-banner{
    position: absolute;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    width: 1200px;
    height: 473px;
    
    h4,p{
        color: black;
        text-align: center;
    }

   
}